package com.example.springboot.pojo;

import java.sql.Time;

public class Worker {
    private String workerId;
    private String name;
    private String password;
    private String id;
    private String phoneNumber;
    private String department;
    private String email;


    public Worker() {
    }

    public Worker(String workerId, String name, String password, String id, String phoneNumber, String department, String email) {
        this.workerId = workerId;
        this.name = name;
        this.password = password;
        this.id = id;
        this.phoneNumber = phoneNumber;
        this.department = department;
        this.email = email;
    }

    /**
     * 获取
     * @return workerId
     */
    public String getWorkerId() {
        return workerId;
    }

    /**
     * 设置
     * @param workerId
     */
    public void setWorkerId(String workerId) {
        this.workerId = workerId;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取
     * @return phoneNumber
     */
    public String getPhoneNumber() {
        return phoneNumber;
    }

    /**
     * 设置
     * @param phoneNumber
     */
    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    /**
     * 获取
     * @return department
     */
    public String getDepartment() {
        return department;
    }

    /**
     * 设置
     * @param department
     */
    public void setDepartment(String department) {
        this.department = department;
    }

    /**
     * 获取
     * @return email
     */
    public String getEmail() {
        return email;
    }

    /**
     * 设置
     * @param email
     */
    public void setEmail(String email) {
        this.email = email;
    }

    public String toString() {
        return "Worker{workerId = " + workerId + ", name = " + name + ", password = " + password + ", id = " + id + ", phoneNumber = " + phoneNumber + ", department = " + department + ", email = " + email + "}";
    }
}